﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using Ingenious.Graph;

namespace Ingenious.Core
{
    /// <summary>
    /// Defines an interface capable of reading and writing Triple
    /// serialization objects to an RDF serialization
    /// </summary>
    public interface IRdfSerializer
    {
        string ToRdfDocument(NamespaceUriCollection namespaceUriCollection, IList<Triple> triples);
        bool FromRdfDocument(string rdfDocument, out NamespaceUriCollection namespaceUriCollection, out IList<Triple> triples, out string error);
    }
}
